import type {ExtractPropTypes} from 'vue'
import {buildProps} from "@/utils";

export const devNumberConverterProps = buildProps({
    number: {
        type: Number,
        default: 0
    },
    textType: {
        type: String as () => 'modern' | 'traditional',
        default: 'modern'
    },
    semanticType: {
        type: String as () => 'literal' | 'verbal' | 'money',
        default: 'verbal'
    },
} as const)
export type DevNumberConverterProps = ExtractPropTypes<typeof devNumberConverterProps>
